package com.hzz.mybatisplusdemo.config.sqlInjector;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

public interface GeneralBaseMapper<T> extends BaseMapper<T> {

    /**
     * 根据id更新所有数据
     * @param entity
     * @return
     */
    int updateAllColumnById(@Param("et") T entity, @Param("ew") Wrapper<T> updateWrapper);
}
